def extract_code(content, lang='python'):
    code_ = content.split(f"```{lang}")[1].split("```")[0]
    return code_
